package com.biglead.common.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_user")
public class UserInfo implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String username;
    private String password;
    private String address;

    private String openId;
    private String unionId;

    private String icon;

    private String email;

    //备注信息
    private String note;

    private String nickName;

    //创建时间
    private Date createTime;

    //最后登录时间
    private Date loginTime;

    //帐号启用状态：0->禁用；1->启用
    private Integer status;

    private String userPhone;
}
